﻿using Coldairarrow.Entity.Base;
using Coldairarrow.Entity.PB;
using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
    /// <summary>
    /// 维修领药
    /// </summary>
    public class Base_RepairOrderDetailsPDADTO : Base_RepairOrderDetails
    {
        /// <summary>
        /// 物料规格
        /// </summary>
        public string MaterialIdSpec { get; set; }

        /// <summary>
        /// 物料Code
        /// </summary>
        public string MaterialIdCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialIdName { get; set; }
        /// <summary>
        /// 人员名称
        /// </summary>
        public string RealName { get; set; }
    }

    /// <summary>
    /// 设备维修单信息
    /// </summary>
    public class Base_RepairOrPDADTO : Base_RepairOrder {
        /// <summary>
        /// 人员名称
        /// </summary>
        public string RealName { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string DeviceName { get; set; }

        public Int32? States { get; set; }
    }

    

    /// <summary>
    /// 维修领料扫码物料
    /// </summary>
    public class Base_RepairOrderDetailsMaterDTO : Base_RepairOrderDetails
    {
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterId { get; set; }
        /// <summary>
        /// 是否单个物料
        /// </summary>
        public Boolean? IsSingle { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialIdName { get; set; }
        /// <summary>
        /// 货位
        /// </summary>
        public string LocalId { get; set; }
    }


    /// <summary>
    /// 下架操作更新库存数据
    /// </summary>
    public class UpdateInventory {
        /// <summary>
        /// 物料id
        /// </summary>
        public string MaterialId { get; set; }
        /// <summary>
        /// 货位id
        /// </summary>
        public string LocationId{ get; set; }
        /// <summary>
        /// 下架数量
        /// </summary>
        public Double? Nums { get; set; }

        /// <summary>
        /// 维修单二维码
        /// </summary>
        public string RepairOrderId { get; set; }

     
    }


    public class Base_RepairOrderLoadListDTO : Base_RepairOrderLoadList {
        /// <summary>
        /// 仓库id
        /// </summary>
        public string StorId { get; set; }

        /// <summary>
        /// 货位Id
        /// </summary>
        public string LocationId { get; set; }

        /// <summary>
        /// 库区ID
        /// </summary>
        public string AreaId { get; set; }

        /// <summary>
        /// 货架
        /// </summary>
        public string RackId { get; set; }

        /// <summary>
        ///单位ID
        /// </summary>
        public string MeasureId { get; set; }

        /// <summary>
        /// 收货单Id
        /// </summary>
        public string PickListMainId { get; set; }

        /// <summary>
        /// 收货单明细Id
        /// </summary>
        public string PickListId { get; set; }
        public Double? Price { get; set; }

    }


}
